package com.demo.forum.utils;

import java.util.UUID;

public class UUIDUtil {
    /**
     * 生成标准的UUID (36位)
     */
    public static String UUID(){
        return UUID.randomUUID().toString();
    }
    /**
     * 生成32位的UUID
     */

    public static String UUID_32(){
        return UUID.randomUUID().toString().replace("-","");
    }
}
